package com.rabbitmq.demo.dlx;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;

@RabbitListener(queues = "dlx.queue")
public class Receiver {

    @RabbitHandler
    public void receive(String in){
        System.out.println("Receive in = " + in);
    }
}
